package sz.sz2;

import dao.Ink;

import java.awt.*;

public class ColorInk1 implements Ink {
    private Color color;

    @Override
    public String getColor(int red, int green, int blue) {
        Color color = new Color(red, green, blue);
        return "#" + Integer.toHexString(color.getRGB()).substring(2);
    }

}
